<template>
	<Table v-bind="tableOpts" v-on="tableEvent">
		<template #operator>
			<div class="operator-wrap">
				<modifyRole ref="dialogRef" @change="fetchCurrentTable" />
			</div>
		</template>
	</Table>
</template>

<script>
import modifyRole from "./components/modifyRole.vue";
import tableMixins from "@/mixins/tableMixins.vue";
export default {
	name: "RoleManage",
	mixins: [tableMixins],
	components: {
		modifyRole,
	},
	data() {
		return {
			apiName: "getRole",
		};
	},
	computed: {},
	methods: {
		handleAction(opts, row) {
			if (opts === "edit") this.showDialog(opts, row);
		},
	},
};
</script>

<style lang="less" scoped></style>

